﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Manageswitch.aspx.cs" Inherits="BOH.DataManagement.Manageswitch" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="../style/css.css" type="text/css" rel="Stylesheet" />
    <style type="text/css">
        .style1
        {
            width: 393px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
     <div id="divNavigation">
        当前位置:<a href="ManageLogin.aspx" target="frameControl">系统管理</a> >> 信息采集配置
    </div>
    <div id="bodyDiv">
        <center>
            <table style="margin-top: 15px" class="Grid" width="85%">
                <tr class="ARow">
                    <td align="left" wdith="50%" class="style1">
                        是否允许上传PPT
                    </td>
                    <td align="left" wdith="50%">
                        <asp:DropDownList ID="drpAllowUploadPPT" runat="server">
                            <asp:ListItem Value="0">不允许</asp:ListItem>
                            <asp:ListItem Value="1">允许</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button ID="butSavePPT" runat="server" Text="保 存" OnClick="butSavePPT_Click" />
                    </td>
                </tr>
            </table>
            
            <table style="margin-top: 25px" class="Grid" width="85%">
                <tr class="ARow">
                    <td align="left" wdith="50%" class="style1">
                        是否允许单位、主管局修改个人申报信息
                    </td>
                    <td align="left" wdith="50%">
                        <asp:DropDownList ID="drpAllowModify" runat="server" style="margin-left: 0px">
                            <asp:ListItem Value="0">不允许</asp:ListItem>
                            <asp:ListItem Value="1">允许</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button ID="butAllowModfiy" runat="server" Text="保 存" 
                            onclick="butAllowModfiy_Click" />
                    </td>
                </tr>
            </table>
            
            <table style="margin-top: 25px" class="Grid" width="85%">
                <tr class="ARow">
                    <td align="left" wdith="50%" class="style1">
                        重置面试题目状态
                    </td>
                    <td align="left" wdith="50%">
                        <asp:DropDownList ID="questionStats" runat="server" style="margin-left: 0px">
                            <asp:ListItem Value="A">激活</asp:ListItem>
                            <asp:ListItem Value="D">未激活</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button ID="Button1" runat="server" Text="保 存" 
                            onclick="butQuestionStats_Click" />
                    </td>
                </tr>
            </table>
            
            <table style="margin-top: 25px" class="Grid" width="85%">
                <tr class="ARow">
                    <td align="left" wdith="50%" class="style1">
                        当前评审类型:
                    </td>
                    <td align="left" wdith="50%">
                        <asp:DropDownList ID="drpApplyStyle" runat="server" style="margin-left: 0px">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button ID="butApplyStyle" runat="server" Text="保 存" 
                            onclick="butApplyStyle_Click" />
                    </td>
                </tr>
            </table>
            
            <table style="margin-top: 25px" class="Grid" width="85%">
                <tr>
                    <td align="left">学科组开放抽题:&nbsp;&nbsp;&nbsp;<asp:Button ID="butOpenAll" 
                            runat="server" Text="开放全部" onclick="butOpenAll_Click" />&nbsp;<asp:Button 
                            ID="butCloseAll" runat="server" Text="关闭全部" onclick="butCloseAll_Click" /></td>
                </tr>
                <tr class="ARow">
                    <td>
                    <div style="overflow:auto;height:300px; text-align:left">
                        <asp:GridView ID="InterviewQuestionsList" runat="server"  Width="99%"
                            AutoGenerateColumns="False" CssClass="Grid" AllowPaging="false" 
                            onrowcommand="InterviewQuestionsList_RowCommand" 
                            onrowdatabound="InterviewQuestionsList_RowDataBound">
                            <Columns>
                                <asp:TemplateField HeaderText="学科组">
                                    <HeaderStyle  HorizontalAlign="Left" />
                                    <ItemStyle  HorizontalAlign="Left" />
                                    <ItemTemplate>
                                        <asp:HiddenField ID="hidSubjectID" runat="server" Value='<%#Eval("SubjectID") %>' />
                                        <asp:Label ID="labSubject" runat="server" Text='<%#Eval("SubjectName") %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="是否开放">
                                    <HeaderStyle HorizontalAlign="center" />
                                    <ItemStyle  HorizontalAlign="center" />
                                    <ItemTemplate>
                                        <asp:DropDownList ID="drpIsOpen" runat="server">
                                            <asp:ListItem Text="不开放" Value="0"></asp:ListItem>
                                            <asp:ListItem Text="开放" Value="1"></asp:ListItem>
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:ButtonField CommandName="Save" Text="保存" ControlStyle-Width="50px" ItemStyle-HorizontalAlign="Center" HeaderText="保存" />
                            </Columns>
                        </asp:GridView>
                    </div>
                    </td>
                </tr>
            </table>
        </center>
    </div>
    </form>
</body>
</html>
